package com.ddfeiyu.redis.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


@Data
@ConfigurationProperties(prefix = "ddfeiyu.redis")
public class RedisProperties {

    private String password ;
    private String timeout = "6000";
    private String host;
    private int port = 6379;
    private int dataBase = 0;
    private RedisClusterProperties cluster = new RedisClusterProperties();
    private JedisProperties jedis = new JedisProperties();
}